package org.example.springbookdamo.Controller.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.springbookdamo.model.Bookinfo;

import java.util.List;
@Mapper
public interface UserInfoMapper {
    @Select("select * from user_info where id = #{id}");
    List<Bookinfo> selectByUserId(Integer BookId);

}
